import request from '@/utils/request'

// 返回视频监控点树形列表
export const listDiviceTree = () => { return request.get('/business/deviceCamera/treeList') }
// 根据cameraIndexCode进行视频预览
export const previewDeviceCamera = (params = {}) => { return request.get('/business/deviceCamera/preview', { params }) }
// 根据cameraIndexCode进行视频回放
export const playbackDeviceCamera = (params = {}) => { return request.get('/business/deviceCamera/playback', { params }) }
// 查询监控点列表
export const listDeviceCamera = (params = {}) => { return request.get('/business/deviceCamera/list', { params }) }
// 根据设备编号进行云台操作
export const controllCamera = (params = {}) => { return request.get('/business/deviceCamera/controlling', { params }) }